package com.you.base.enums;

public enum Status {
    CREATED("0"),
    PAY("1"),
    SEND("2");

    private String value;

    Status(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    @Override
    public String toString() {
        return "Status{" +
                "name='" + value + '\'' +
                '}';
    }

    public static void main(String[] args) {
        System.out.println(Status.CREATED.getValue());
    }
}
